home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
prog_c
/
cuj0696.zip
/
DWYER.ZIP
/
LIB
/
MAKEFILE.DOS
< prev
next >
Wrap
Text File
|
1996-02-29
|
4KB
|
142 lines
.SUFFIXES:
.SUFFIXES: .lib .obs .obl .c
CSFLAGS = -nologo $(OPTIMIZ) -W4 -Za -I. -I$(INCL) -AS $(TEST)
#
# For Large (nay, HUGE) Library
#
CLFLAGS = -nologo $(OPTIMIZ) -W4 -Za -I. -I$(INCL) -AH $(TEST)
INCL = ../incl
OPTIMIZ = -G2sy -Ot#-qc
.c.obl:
cl -c $(CLFLAGS) -Fo$*.obl $<
.c.obs:
cl -c $(CSFLAGS) -Fo$*.obs $<
CEPHES_SRCS_1 = chdtr.c\
const.c\
fac.c\
gamma.c\
igam.c\
igami.c
CEPHES_SRCS_2 = ndtr.c\
ndtri.c\
polevl.c\
powi.c\
mtherr.c
CEPHES_L_OBJS_1 = $(CEPHES_SRCS_1:.c=.obl)
CEPHES_L_OBJS_2 = $(CEPHES_SRCS_2:.c=.obl)
CEPHES_S_OBJS_1 = $(CEPHES_SRCS_1:.c=.obs)
CEPHES_S_OBJS_2 = $(CEPHES_SRCS_2:.c=.obs)
MISC_SRCS_1 = abrtgcly.c\
bincoef.c\
bitmanip.c\
calcharm.c\
calcmnsd.c\
drand.c\
getchr.c
MISC_SRCS_2 = getdbl.c\
getinitd.c\
getint.c\
getldbl.c\
getlong.c\
getuint.c\
ksinv.c
MISC_SRCS_3 = ksmirnov.c\
m77rand.c\
rand250.c\
randcomb.c\
randport.c\
rands55.c\
stirling.c
MISC_OBJS_L_1 = $(MISC_SRCS_1:.c=.obl)
MISC_OBJS_L_2 = $(MISC_SRCS_2:.c=.obl)
MISC_OBJS_L_3 = $(MISC_SRCS_3:.c=.obl)
MISC_OBJS_S_1 = $(MISC_SRCS_1:.c=.obs)
MISC_OBJS_S_2 = $(MISC_SRCS_2:.c=.obs)
MISC_OBJS_S_3 = $(MISC_SRCS_3:.c=.obs)
all: lmiscsub.lib lcephes.lib #smiscsub.lib scephes.lib
lmiscsub.lib: $(MISC_OBJS_L_1) $(MISC_OBJS_L_2) $(MISC_OBJS_L_3)
# @-echo $(MISC_OBJS_L_1) "&" > junklist.1
# @-echo $(MISC_OBJS_L_2) "&" >> junklist.1
# @-echo $(MISC_OBJS_L_3) ";" >> junklist.1
# @-mv lmiscsub.lib lmiscsub.old > nul
# lib /nologo lmiscsub @junklist.1
# rm -f junklist.1
@-move lmiscsub.lib lmiscsub.old > nul
lib /nologo lmiscsub @fcnslist.1
lcephes.lib: $(CEPHES_L_OBJS_1) $(CEPHES_L_OBJS_2)
# echo $(CEPHES_L_OBJS_1) "&" > junklist.3
# echo $(CEPHES_L_OBJS_2) ";" >> junklist.3
# @-mv lcephes.lib lcephes.old > nul
# lib /nologo lcephes @junklist.3
# rm -f junklist.3
@-move lcephes.lib lcephes.old > nul
lib /nologo lcephes @fcnslist.3
smiscsub.lib: $(MISC_OBJS_S_1) $(MISC_OBJS_S_2) $(MISC_OBJS_S_3)
# @-echo $(MISC_OBJS_S_1) "&" > junklist.2
# @-echo $(MISC_OBJS_S_2) "&" >> junklist.2
# @-echo $(MISC_OBJS_S_3) ";" >> junklist.2
# lib /nologo smiscsub @junklist.2
# @-mv smiscsub.lib smiscsub.old > nul
# rm -f junklist.2
@-move smiscsub.lib smiscsub.old > nul
lib /nologo smiscsub @fcnslist.2
scephes.lib: $(CEPHES_S_OBJS_1) $(CEPHES_S_OBJS_2)
# echo $(CEPHES_S_OBJS_1) "&" > junklist.4
# echo $(CEPHES_S_OBJS_2) ";" >> junklist.4
# @-mv scephes.lib scephes.old > nul
# lib /nologo scephes @junklist
# rm -f junklist.4
@-move scephes.lib scephes.old > nul
lib /nologo scephes @fcnslist.4
bitmanip.obl bitmanip.obs: bitmanip.c bit_hlrs.h
drand.obl drand.obs: drand.c
getchr.obl getchr.obs: getchr.c
getdbl.obl getdbl.obs: getdbl.c
getinitd.obl getinitd.obs: getinitd.c qrmrand.c
getint.obl getint.obs: getint.c
getlong.obl getlong.obs: getlong.c
getuint.obl getuint.obs: getuint.c
m77rand.obl m77rand.obs: m77rand.c
rand250.obl rand250.obs: rand250.c
randcomb.obl randcomb.obs: randcomb.c
randport.obl randport.obs: randport.c
rands55.obl rands55.obs: rands55.c
chdtr.obl chdtr.obs: chdtr.c
const.obl const.obs: const.c
fac.obl fac.obs: fac.c
gamma.obl gamma.obs: gamma.c
igam.obl igam.obs: igam.c
igami.obl igami.obs: igami.c
ndtri.obl ndtri.obs: ndtri.c
polevl.obl polevl.obs: polevl.c
mtherr.obl mtherr.obs: mtherr.c
save:
@echo Saving Sources - Library Source Files and Header Files
-pkzip -u b:/randlibs *.c *.h makefile top header
-pkzip -u -xstatus.me -x*.bak b:randincl $(INCL)/*.*
echo_it:
@-echo "$(MISC_OBJS_L_1) '&' > junklist" | wc -c
@-echo "$(MISC_OBJS_L_2) '&' >> junklist" | wc -c
@-echo "$(MISC_OBJS_L_3) ';' >> junklist" | wc -c